package com.oceanread.cn.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.oceanread.cn.entity.Photography;
import com.oceanread.cn.entity.Treelist2;

import java.util.List;

public interface IPhotographyService extends IService<Photography> {
    List<Photography> getall();

    List<Photography> query(String key, String value);

    List<Photography> getTablelist(int page, int size);

    List<Photography> getTablelistquery(String key, String value, int page, int size);

    Integer getnum();

    Integer getnumquery(String key, String value);

    Integer update(Photography photography);

    int insert(
             String pId,
             String id,
             String name,
             String path,
             String type,
             String typeroot,
             String open,
             String influencechild,
             String region,
             String X,
             String Y,
             String CameraHight
    );

    Integer delete(int sysid);
}
